package com.crm.CLdriving.dto.req;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("录入新闻请求")
public class NewsInsertReqDto {

    @NotBlank(message="标题不能为空")
    private String title;

    @NotBlank(message="内容不能为空")
    private String content;
}
